import request from '@/utils/request';

//查询列表
export async function queryRequest(): Promise<any> {
  return request('/api/goods/list');
}

//编辑
export async function editRequest(params:any): Promise<any> {
  return request('/api/goods/update', {
    method: 'POST',
    data: params,
  });
}
